WCPay\WC_Payments_Checkout A

Total Complexity 61
Dependencies 16
Dependents 3
Total lines 464
Lines of code 287
Logical lines of code 135
Comment lines 119
Methods 9
Properties 5

Methods 9

Method Rating Maintainability Complexity Lines of code
payment_fields()
B
35 19 88
get_payment_fields_js_config()
B
31 16 100
get_enabled_payment_method_config()
S
47 6 33
register_scripts_for_zero_order_total()
S
57 7 16
should_upe_payment_method_show_save_option()
S
65 6 9
register_scripts()
S
57 3 18
set_gateway()
S
73 2 5
init_hooks()
S
62 1 11
__construct()
S
69 1 7